﻿@model IEnumerable<Enter.Mvc.Mall.Model.Product.CategoryListModel>
<div id="mallCate">
    <h2 class="mcate-hd">
    </h2>
    <ul class="mcate-bd" id="mallCate-bd">
        @foreach (var item in Model)
        { 
            <li class="first">
                <h3 class="mcate-item-hd">
                    <span>@item.Category.CName</span> ：</h3>
                <p class="mcate-item-bd">
                    @if (item.ChildCategorys != null)
                    {
                        foreach (var cate in item.ChildCategorys)
                        {
                        <a target="_blank" href="/Product/search_product?nav=spu_cat&cat=@cate.CNO">@cate.CName</a> 
                        }
                    }
                </p>
            </li>
        }
    </ul>
</div>
